package com.xgpro.mapper.archives;

import com.xgpro.domain.archives.entity.PerForMance;
import org.apache.ibatis.annotations.Delete;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface PerForManceMapper extends Mapper<PerForMance> {

    @Delete("<script>" +
            " delete from t_performance where  user_id in " +
            " <foreach collection='list' index='index' item='id'  open='(' separator=',' close=')'> " +
            "  #{id}" +
            " </foreach>" +
            " </script>")
    Integer beletes(List<Integer> ids);

}
